package com.zuoqi.easywork.userManage.model;

import java.util.Date;
import javax.persistence.*;

@Table(name = "tc_user_attend")
public class TcUserAttend {
    @Id
    @Column(name = "attend_id")
    private String attendId;

    @Column(name = "user_id")
    private String userId;

    /**
     * 出勤情况：0正常出勤；1迟到；2未出勤
     */
    @Column(name = "attend_type")
    private String attendType;

    @Column(name = "attend_date")
    private Date attendDate;

    private String remark;

    /**
     * @return attend_id
     */
    public String getAttendId() {
        return attendId;
    }

    /**
     * @param attendId
     */
    public void setAttendId(String attendId) {
        this.attendId = attendId;
    }

    /**
     * @return user_id
     */
    public String getUserId() {
        return userId;
    }

    /**
     * @param userId
     */
    public void setUserId(String userId) {
        this.userId = userId;
    }

    /**
     * 获取出勤情况：0正常出勤；1迟到；2未出勤
     *
     * @return attend_type - 出勤情况：0正常出勤；1迟到；2未出勤
     */
    public String getAttendType() {
        return attendType;
    }

    /**
     * 设置出勤情况：0正常出勤；1迟到；2未出勤
     *
     * @param attendType 出勤情况：0正常出勤；1迟到；2未出勤
     */
    public void setAttendType(String attendType) {
        this.attendType = attendType;
    }

    /**
     * @return attend_data
     */
    public Date getAttendDate() {
        return attendDate;
    }

    /**
     * @param attendDate
     */
    public void setAttendDate(Date attendDate) {
        this.attendDate = attendDate;
    }

    /**
     * @return remark
     */
    public String getRemark() {
        return remark;
    }

    /**
     * @param remark
     */
    public void setRemark(String remark) {
        this.remark = remark;
    }
}